package entity;

import lombok.Getter;
import lombok.Setter;

import java.util.List;

@Getter
@Setter
public class PageResult<T> {

	private Long total;

	private List<T> rows;

	public PageResult(Long total, List<T> rows) {
		this.total = total;
		this.rows = rows;
	}
}
